angular.module('api',[])
.factory('API',[function(){
    return {
        //params:UserID,Password
        //if success,return a url that indicate
        Signin:'',
        GetFollower:'',
        GetEntries:'',
        GetDetail:'',
        SaveDetail:''
    }
}])
.factory('AsyncAPI',[function(API){
    function Signin(UserID,Password){
        
    }
    function GetFollower(){
        
    }
    function GetEntries(){

    }
    function GetDetail(){

    }
    function SaveDetail(){

    }
    function SaveRisk(){

    }
    return {
        Signin:Signin,
        GetFollower:GetFollower,
        GetEntries:GetEntries,
        GetDetail:GetDetail,
        SaveDetail:SaveDetail,
        SaveRisk:SaveRisk
    }
}]);
